package day5;

import java.util.Scanner;

public class Demo4 {
    public static void main(String[] args) {
        System.out.println("请输入0~6之间的整数");
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();


        String message = "星期天";
        switch (num){
            case 1:
               message="星期一";
                break;
            case 2:
                message="星期二";
                break;
            case 3:
                message="星期三";
                break;
            case 4:
                message="星期四";
                break;
            case 5:
                message="星期五";
                break;
            case 6:
                message="星期六";
                break;
        }
        System.out.println(message);


    }
}
